﻿#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int mystrlen(char arr[30])
{
	int i = 0;
	while (arr[i] != '\0')
	{
		i++;
	}
	return i;
}

int main()
{
	char arr[30] = { 0 };
	scanf("%s", arr);
	int len = mystrlen(arr);
	printf("%d", len);
	return 0;
}